package com.skymxc.wandroidtodo.page.login;

import com.skymxc.wandroidtodo.data.net.APIManager;
import com.skymxc.wandroidtodo.entity.UserInfo;
import com.skymxc.wandroidtodo.mvp.IModel;

import io.reactivex.Observable;

/**
 * <p>
 *
 * </p>
 *
 * @author 孟祥超
 * <p>
 * date: 2021/12/1  7:20 上午
 */
class LoginModel implements IModel {

    public Observable<UserInfo> login(String userName, String password) {
        return APIManager.getInstance().login(userName,password);
    }
}
